<template>
	<div class="home">
		<HContainer>
			<HHeader></HHeader>
			<HMain>
				<HAside>
					<!-- <HFileList></HFileList> -->
					<HCameraInfomationArea></HCameraInfomationArea>
					<HCameraControlArea></HCameraControlArea>
					<VideoStreamControlArea></VideoStreamControlArea>
				</HAside>
				<HVideoBox>
					<HVideo></HVideo>
					<HVideoArrange></HVideoArrange>
				</HVideoBox>
				<!-- <HAside></HAside> -->
			</HMain>
		</HContainer>
	</div>
</template>

<script lang="ts" setup>
import HAside from "@/components/Home/Aside/HAside.vue"
import HCameraControlArea from "@/components/Home/Aside/CameraControlArea/HCameraControlArea.vue"
import HCameraInfomationArea from "@/components/Home/Aside/CameraInfomationArea/HCameraInfomationArea.vue"
import HFileList from "@/components/Home/Aside/VideoFileTree/HFileList.vue"
import HContainer from "@/components/Home/HContainer.vue"
import HHeader from "@/components/Home/Header/HHeader.vue"
import HMain from "@/components/Home/Main/HMain.vue"
import HVideo from "@/components/Home/Main/HVideo.vue"
import HVideoArrange from "@/components/Home/Main/HVideoArrange.vue"
import HVideoBox from "@/components/Home/Main/HVideoBox.vue"
import { useRouter } from "vue-router"
import VideoStreamControlArea from "@/components/Home/Aside/CameraVideoStreamControlArea/VideoStreamControlArea.vue"
import { useStore } from "vuex"
import { computed, inject, provide } from "vue"
import { IWebsite } from "@/store/types"
const router = useRouter()
const store = useStore();
const website = computed(() => store.state.website.data as IWebsite)
provide('website', website)
</script>

